package com.yu.waterstation.modules.app.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel("寝室")
@Data
@TableName("address")
public class Address implements Serializable {
	private static final long serialVersionUID = 1L;

    @TableId
    private Integer id;
    @ApiModelProperty("eg: 二区15舍")
    private String dorm;
    @ApiModelProperty("eg: 309")
    private String room;
    @ApiModelProperty("桶装水的水票价格 eg:15元")
    private Integer waterPrice;
    @ApiModelProperty("房间里的水桶数")
    private Integer bucketNum;
    @ApiModelProperty("所欠的水票数量")
    private Integer ticketNum;
    @ApiModelProperty("上次换水的时间")
    private Date lastTime;

    @TableField(exist = false)
    private boolean taskStatus;
}
